package com.pxmeta.party.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@TableName("kt_party_music_choose")
@ApiModel(value = "PartyMusicChoose对象", description = "派对选歌表")
@Data
public class PartyMusicChoose {
    @ApiModelProperty("主键")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("音乐id")
    private Long musicId;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("派对id")
    private Long partyId;

//    @ApiModelProperty("是否正在播放")
//    private Boolean isCurrent;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}
